<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns="" xml:lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" type="text/css" href="<?php echo $this->res("skin/pure/css/style.css") ?>" media="all" />
    <link rel="stylesheet" type="text/css" href="<?php echo $this->res("skin/pure/css/pure-min.css") ?>" media="all" />
    <link rel="stylesheet" type="text/css" href="<?php echo $this->res("skin/pure/css/pure-mine-skin.css") ?>" media="all" />


    <!--[if lte IE 8]>
        <link rel="stylesheet" href="<?php echo $this->res("skin/pure/css/main-grid-old-ie.css") ?>" >
    <![endif]-->
    <!--[if gt IE 8]><!-->
        <link rel="stylesheet" href="<?php echo $this->res("skin/pure/css/main-grid.css") ?>">
    <!--<![endif]-->

    <!--[if lte IE 8]>
        <link rel="stylesheet" href="<?php echo $this->res("skin/pure/css/layouts/pricing-old-ie.css") ?>">
    <![endif]-->
    <!--[if gt IE 8]><!-->
        <link rel="stylesheet" href="<?php echo $this->res("skin/pure/css/layouts/pricing.css") ?>">
    <!--<![endif]-->

    <link rel="stylesheet" type="text/css" href="<?php echo $this->res("skin/default/css/prettify.css") ?>" media="all" />
    <script type="text/javascript" src="<?php echo $this->res("js/jquery-1.7.1.min.js") ?>"></script>
    <script src="<?php echo $this->res("js/prettify.js") ?>" charset="utf-8"></script>
    <title><?php echo isset($title) ? $title : 'Ideaa' ?></title>
</head>

<body class="pure-skin-mine">

    <div class="banner">
        <h1 class="banner-head">
            Ideaa<br>
            ...
        </h1>
    </div>

    <div class="l-content">
        <div class="information" style="margin-bottom:5px;text-align: left; padding:10px;">
            <div class="pure-menu pure-menu-open pure-menu-horizontal">
                <ul>
                    <li <?php if(strtolower($this->controller) == '' || strtolower($this->controller) == 'main') : ?>class="pure-menu-selected"<?php endif ?>>
                        <a href="<?php echo $this->link() ?>">首页</a>
                    </li>
                    <li <?php if(strtolower($this->controller) == 'article') : ?>class="pure-menu-selected"<?php endif ?>>
                        <a href="<?php echo $this->link("article") ?>">日志</a>
                    </li>
                </ul>
            </div>
        </div>

        <div class="information">
            <div class="pure-u-1" style="background: #ffffff;padding:10px 0;">
                <div class="l-box">
                    <?php echo !empty($content)?$content:'暂无内容'; ?>
                </div>
            </div>
        </div> <!-- end information -->
    </div> <!-- end l-content -->

    <div class="footer l-box" style="clear: both;margin-top: 30px;">
        <p>
            <?php echo $this->copyRight() ?>
            <h5 style="padding-top: 10px;" class="brand-tagline"><?php echo $this->setSkin() ?></h5>
        </p>
    </div>

</body>
</html>
